package com.nbsaas.boot.customer.rest.convert;

import com.nbsaas.boot.customer.data.entity.CustomerLabel;
import com.nbsaas.boot.customer.api.domain.simple.CustomerLabelSimple;

import com.nbsaas.boot.rest.api.Converter;

/**
* 客户标签-列表对象转换器
*/

public class CustomerLabelSimpleConvert implements Converter<CustomerLabelSimple, CustomerLabel> {




@Override
public CustomerLabelSimple convert(CustomerLabel source) {
    CustomerLabelSimple result = new CustomerLabelSimple();

                result.setShop(source.getShop());
                result.setName(source.getName());
                result.setId(source.getId());


    return result;
}

}